<div id="left-menu" class="column">

	<fieldset>
		
		<% form_for :user, :url => {:controller=> :user, 
									:action => 'login'} do |f| %>
			<p>
				<label for="user_name">Stammgast:</label>
				<%= f.text_field 'name' %>
			</p>
			
			<p>
				<label for="user_password">Passwort:</label>
				<%= f.password_field 'password' %>
			</p>
			
			<div class="login-buttons">
			
				<div class="red-button" 
					 style="width: 75px; height: 18px;">
					<img src="/images/button_left_top_corner.gif" 
						 class="top left corner" />
					<img src="/images/button_left_bottom_corner.gif" 
						 class="bottom left corner" />
					<img src="/images/button_right_top_corner.gif" 
						 class="top right corner" />
					<img src="/images/button_right_bottom_corner.gif" 
						 class="bottom right corner" />
					
					<%= submit_tag 'Einloggen', 
								   :class => 'red-submit' %>
				</div>
			
				<%= link_to 'Passwort vergessen?', 
							:controller => :user,
							:action => :forgot_password %>
			
			</div>
			
		<% end %>
		
	</fieldset>
			
	<h2>Neue Stammbars</h2>
			
	<ul class="bar-list">
		<li class="item">
			<img src="/images/sample_bar.jpg" />
		</li>
	</ul>
	
	<h2>Neue Stammg&auml;ste</h2>
	
	<ul class="portrait-list">
		
		<% @users = get_newest_users() %>
		<% for user in @users do %>
			<li class="item" 
				style="width:50px; height:63px;">
				<%= link_to_profile user.id, 'small' %>
			</li>
		<% end %>
		
	</ul>
	
	<img class="spacer" src="/images/spacer.gif" 
		 alt="Platzhalter" height="200" width="1" />
		 
	<div class="footer">
		<ul>
			
			<li>
				<%= link_to "&Uuml;ber Uns", :controller => :static, 
											 :action => :about_us %>
			</li>
			<li>
				<%= link_to "FAQ", :controller => :static, 
								   :action => :questions %>
			</li>
			<li>
				<%= link_to "Impressum", :controller => :static, 
								   		 :action => :impress %>
			</li>
			<li>
				<%= link_to "Jobs", :controller => :static, 
								   	:action => :jobs %>
			</li>
			<li>
				<%= link_to "Partner", :controller => :static, 
								   	   :action => :partner %>
			</li>
			<li>
				<%= link_to "Presse", :controller => :static, 
								   	  :action => :press %>
			</li>
			
		</ul>
	</div>
		
</div>